package tarantula.experiment.commons;

import junit.framework.TestCase;

public class CollectionsFailedTestsSimpleTestBug2 extends TestCase {
	public void test2() throws Throwable {

	    java.lang.Integer var0 = new java.lang.Integer(100);
	    org.apache.commons.collections.buffer.BoundedFifoBuffer var1 = new org.apache.commons.collections.buffer.BoundedFifoBuffer(var0);
	    org.apache.commons.collections.Transformer var2 = org.apache.commons.collections.TransformerUtils.exceptionTransformer();
	    org.apache.commons.collections.Buffer var3 = org.apache.commons.collections.BufferUtils.transformedBuffer((org.apache.commons.collections.Buffer)var1, var2);
	    org.apache.commons.collections.Buffer var4 = org.apache.commons.collections.BufferUtils.unmodifiableBuffer(var3);
	    
	    // Checks the contract:  equals-symmetric on var4 and var3.
	    assertTrue("Contract failed: equals-symmetric on var4 and var3.", var4.equals(var3) == var3.equals(var4));

	  }

	  public void test3() throws Throwable {

	    java.lang.Integer var0 = new java.lang.Integer(100);
	    org.apache.commons.collections.buffer.BoundedFifoBuffer var1 = new org.apache.commons.collections.buffer.BoundedFifoBuffer(var0);
	    org.apache.commons.collections.Buffer var2 = org.apache.commons.collections.BufferUtils.synchronizedBuffer((org.apache.commons.collections.Buffer)var1);
	    boolean var3 = var1.addAll((java.util.Collection)var1);
	    org.apache.commons.collections.comparators.BooleanComparator var4 = new org.apache.commons.collections.comparators.BooleanComparator(var3);
	    org.apache.commons.collections.BinaryHeap var5 = new org.apache.commons.collections.BinaryHeap(var3, (java.util.Comparator)var4);
	    java.util.Map var6 = org.apache.commons.collections.CollectionUtils.getCardinalityMap((java.util.Collection)var5);
	    org.apache.commons.collections.bidimap.DualHashBidiMap var7 = new org.apache.commons.collections.bidimap.DualHashBidiMap(var6);
	    org.apache.commons.collections.map.LinkedMap var8 = new org.apache.commons.collections.map.LinkedMap((java.util.Map)var7);
	    long var9 = org.apache.commons.collections.MapUtils.getLongValue((java.util.Map)var8, (java.lang.Object)var5);
	    org.apache.commons.collections.Buffer var10 = org.apache.commons.collections.BufferUtils.blockingBuffer(var2, (long)var9);
	    
	    // Checks the contract:  equals-symmetric on var10 and var2.
	    assertTrue("Contract failed: equals-symmetric on var10 and var2.", var10.equals(var2) == var2.equals(var10));

	  }

	  public void test4() throws Throwable {

	    java.lang.Integer var0 = new java.lang.Integer(100);
	    org.apache.commons.collections.buffer.BoundedFifoBuffer var1 = new org.apache.commons.collections.buffer.BoundedFifoBuffer(var0);
	    org.apache.commons.collections.Transformer var2 = org.apache.commons.collections.TransformerUtils.exceptionTransformer();
	    org.apache.commons.collections.Buffer var3 = org.apache.commons.collections.BufferUtils.transformedBuffer((org.apache.commons.collections.Buffer)var1, var2);
	    org.apache.commons.collections.Buffer var4 = org.apache.commons.collections.BufferUtils.unmodifiableBuffer(var3);
	    
	    // Checks the contract:  equals-symmetric on var4 and var3.
	    assertTrue("Contract failed: equals-symmetric on var4 and var3.", var4.equals(var3) == var3.equals(var4));

	  }

	  public void test5() throws Throwable {

	    org.apache.commons.collections.buffer.BoundedFifoBuffer var0 = new org.apache.commons.collections.buffer.BoundedFifoBuffer();
	    org.apache.commons.collections.Buffer var1 = org.apache.commons.collections.BufferUtils.synchronizedBuffer((org.apache.commons.collections.Buffer)var0);
	    org.apache.commons.collections.Buffer var2 = org.apache.commons.collections.BufferUtils.unmodifiableBuffer(var1);
	    
	    // Checks the contract:  equals-symmetric on var2 and var1.
	    assertTrue("Contract failed: equals-symmetric on var2 and var1.", var2.equals(var1) == var1.equals(var2));

	  }
}
